package com.atguigu.jxc.service;

import com.atguigu.jxc.domain.ServiceVO;
import com.atguigu.jxc.entity.PurchaseList;
import com.atguigu.jxc.entity.PurchaseListGoods;

import java.util.List;
import java.util.Map;

public interface PurchaseListGoodsService {

    ServiceVO save(PurchaseList purchaseList, String purchaseListGoodsStr,String purchaseNumber);

    List<PurchaseList> getList(String purchaseNumber, Integer supplierId, Integer state, String sTime, String eTime);

    List<PurchaseListGoods> getGoodsList(Integer purchaseListId);

    ServiceVO delete(Integer purchaseListId);

    ServiceVO updateState(Integer purchaseListId);

    List<Map<String,Object>> count(String sTime, String eTime, Integer goodsTypeId, String codeOrName);

}
